<script setup>
</script>

<template>
  <footer class="game-footer">
    <div class="footer-content">
      <div class="copyright">
        &copy; {{ new Date().getFullYear() }} 火影忍者游戏 - 仅供学习使用
      </div>
      <div class="disclaimer">
        此游戏非官方产品，火影忍者相关版权归原作者所有
      </div>
      <div class="social-links">
        <a href="#" class="social-link">关于我们</a>
        <a href="#" class="social-link">隐私政策</a>
        <a href="#" class="social-link">联系我们</a>
      </div>
    </div>
  </footer>
</template>

<style scoped>
.game-footer {
  background: linear-gradient(135deg, var(--naruto-orange) 0%, var(--naruto-red) 100%);
  color: white;
  padding: 30px 0 20px;
  text-align: center;
  border-top: 4px solid var(--naruto-black);
  position: relative;
  overflow: hidden;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

/* 装饰元素 */
.game-footer::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmerFooter 3s infinite reverse;
}

@keyframes shimmerFooter {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* 忍者标志背景图案 */
.game-footer::after {
  content: '忍';
  position: absolute;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%) rotate(20deg);
  font-size: 15rem;
  font-weight: bold;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.copyright {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.disclaimer {
  font-size: 0.9rem;
  margin-bottom: 10px;
  opacity: 0.85;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.social-links {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.social-link {
  color: white;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 30px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.social-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-link:hover::before {
  left: 100%;
}

/* 额外的分隔线 */
.footer-divider {
  height: 1px;
  width: 100%;
  max-width: 600px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  margin: 0 auto;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .game-footer {
    padding: 25px 0 15px;
  }
  
  .game-footer::after {
    font-size: 10rem;
    bottom: -30%;
  }
  
  .footer-content {
    padding: 0 15px;
    gap: 15px;
  }
  
  .copyright {
    font-size: 1rem;
  }
  
  .disclaimer {
    font-size: 0.8rem;
  }
  
  .social-links {
    gap: 10px;
  }
  
  .social-link {
    padding: 8px 14px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .game-footer::after {
    font-size: 8rem;
    bottom: -40%;
  }
  
  .footer-content {
    padding: 0 10px;
  }
  
  .social-links {
    flex-direction: column;
    align-items: center;
  }
  
  .social-link {
    width: 100%;
    max-width: 200px;
  }
}
</style>